package com.iwhalecloud.bss.kite.cucc.order.event;

import com.iwhalecloud.bss.kite.event.BaseEvent;
import com.iwhalecloud.bss.kite.order.client.dto.OrderRequest;

public class FilterInvalidOrderEvent extends BaseEvent {

    private static final long serialVersionUID = 1L;

    public static final String EVENT_CODE = "FilterInvalidOrderEvent";

    private OrderRequest orderRequest;

    public FilterInvalidOrderEvent(Object source, OrderRequest request) {
        super(source, EVENT_CODE, request.getCustId(), request.getStaffId());
        this.orderRequest = request;
    }

    public OrderRequest getOrderRequest() {
        return orderRequest;
    }
}
